package com.fwj;

import com.fwj.base.utils.SpringContextUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 启动类
 *
 * @author zc
 */
@EnableSwagger2
@SpringBootApplication
public class SpringBootWebApplication {

    public static void main(String[] args) {
        ApplicationContext app = SpringApplication.run(SpringBootWebApplication.class, args);
        SpringContextUtil.setApplicationContext(app);
        System.out.println("========================启动完毕========================");
    }

}
